<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<t:base type="jquery,easyui,tools,DatePicker"></t:base>
<div class="easyui-layout" fit="true">
  <div region="center" style="padding:0px;border:0px">
  <t:datagrid name="bnsUsersInfoList" checkbox="true" fitColumns="false" title="用户表" actionUrl="bnsUsersInfoController.do?datagrid" idField="id" fit="true" queryMode="group">
   <t:dgCol title="主键"  field="id"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="用户ID"  field="userId"    queryMode="single"  width="120" query="true"></t:dgCol>
   <t:dgCol title="用户名"  field="userName"    queryMode="single"  width="120" query="true"></t:dgCol>
   <t:dgCol title="真实姓名"  field="realName"    queryMode="single"  width="120" query="true"></t:dgCol>
   <t:dgCol title="性别"  field="gender"    queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="手机号"  field="mobile"    queryMode="single"  width="120" query="true"></t:dgCol>
   <t:dgCol title="qq"  field="qq"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="微信"  field="wechat"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="邮箱"  field="email"    queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="生日"  field="birthday" formatter="yyyy-MM-dd" hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="出生地"  field="address"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="血型"  field="bloodType"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="交友目的"  field="purpose"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="居住地"  field="abode"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="情感状态"  field="emotionalStates"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="学历"  field="education"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="毕业学校"  field="graduationSchool"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="公司"  field="company"    queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="年收入"  field="annualIncome"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="职位"  field="position"    queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="职业"  field="profession"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="自我介绍"  field="selfIntroduction"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="个人主页"  field="personalHomepage"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="证件号"  field="idNo"    queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="证件类型"  field="idType"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="邮编"  field="postcode"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="兴趣爱好"  field="hobbies"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="积分"  field="integral"    queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="发贴数"  field="releaseNum"    queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="评论数"  field="commentsNum"    queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="群组ID"  field="groupId"    queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="威望"  field="prestige"    queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="魅力"  field="charm"    queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="贡献"  field="contrbute"    queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="论币"  field="lunbi"    queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="金豆"  field="jindou"    queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="现金"  field="cash"    queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="操作" field="opt" width="100"></t:dgCol>
   <t:dgDelOpt title="删除" url="bnsUsersInfoController.do?doDel&id={id}" />
   <t:dgToolBar title="录入" icon="icon-add" url="bnsUsersInfoController.do?goAdd" funname="add"></t:dgToolBar>
   <t:dgToolBar title="编辑" icon="icon-edit" url="bnsUsersInfoController.do?goUpdate" funname="update"></t:dgToolBar>
   <t:dgToolBar title="批量删除"  icon="icon-remove" url="bnsUsersInfoController.do?doBatchDel" funname="deleteALLSelect"></t:dgToolBar>
   <t:dgToolBar title="查看" icon="icon-search" url="bnsUsersInfoController.do?goUpdate" funname="detail"></t:dgToolBar>
  </t:datagrid>
  </div>
 </div>
 <script src = "webpage/com/buss/user/bnsUsersInfoList.js"></script>		
 <script type="text/javascript">
 $(document).ready(function(){
 		//给时间控件加上样式
 			$("#bnsUsersInfoListtb").find("input[name='birthday']").attr("class","Wdate").attr("style","height:20px;width:90px;").click(function(){WdatePicker({dateFmt:'yyyy-MM-dd'});});
 });
 
//导入
function ImportXls() {
	openuploadwin('Excel导入', 'bnsUsersInfoController.do?upload', "bnsUsersInfoList");
}

//导出
function ExportXls() {
	JeecgExcelExport("bnsUsersInfoController.do?exportXls","bnsUsersInfoList");
}

//模板下载
function ExportXlsByT() {
	JeecgExcelExport("bnsUsersInfoController.do?exportXlsByT","bnsUsersInfoList");
}
 </script>